<template>
  <div class="wrapper">
    <span>姓名: {{ userInfo.memberName }}</span>
    <span>手机号: {{ userInfo.phone }}</span>
  </div>
</template>

<script>
import { mapState } from 'vuex'
export default {
  computed: {
    ...mapState(['userInfo'])
  }
}
</script>

<style lang="less" scoped>
.wrapper {
  display: flex;
  flex-direction: column;
  span {
    padding: 20rpx;
    margin: 10rpx 0;
    border-bottom: 1px solid rgb(190, 189, 189);
  }
}
</style>
